Northwoods.GoSilverlight 1.3.5 Assembly
IsMemberValid Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : IsMemberValid Method

groupnodedata
the node data that is a group
membernodedata
a node data
ignoreexistingmembership
whether to ignore the membernodedata's existing group membership, because that member is being transferred out of its existing group
This predicate is true if adding membernodedata to a group node (groupnodedata) would result in an invalid graph.

Syntax

Visual Basic (Declaration) 
Public Function IsMemberValid( _
   ByVal groupnodedata As NodeType, _
   ByVal membernodedata As NodeType, _
   ByVal ignoreexistingmembership As Boolean _
) As Boolean
C# 
public bool IsMemberValid( 
   NodeType groupnodedata,
   NodeType membernodedata,
   bool ignoreexistingmembership
)

Parameters

groupnodedata
the node data that is a group
membernodedata
a node data
ignoreexistingmembership
whether to ignore the membernodedata's existing group membership, because that member is being transferred out of its existing group

Remarks

This just calls CheckMemberValid to do the actual graph structure check.

Requirements

See Also

© 2012 All Rights Reserved.